<HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT>    package com.gwt.ss.client;<a name="line.1"></a>
<FONT color="green">002</FONT>    <a name="line.2"></a>
<FONT color="green">003</FONT>    import com.google.gwt.user.client.rpc.RemoteService;<a name="line.3"></a>
<FONT color="green">004</FONT>    <a name="line.4"></a>
<FONT color="green">005</FONT>    /**<a name="line.5"></a>
<FONT color="green">006</FONT>     * &amp;lt;logout&amp;gt; direct from GWT RPC,you need instantiate a {@link com.gwt.ss.GwtLogoutSuccessHandler<a name="line.6"></a>
<FONT color="green">007</FONT>     * GwtLogoutSuccessHandler} and assign to &amp;lt;logout success-handler-ref=&amp;quot;hander-reference&amp;quot;/&amp;gt;&lt;br/&gt;<a name="line.7"></a>
<FONT color="green">008</FONT>     * This interface did not annotated with {@link com.google.gwt.user.client.rpc.RemoteServiceRelativePath<a name="line.8"></a>
<FONT color="green">009</FONT>     * @RemoteServiceRelativePath}, Do not generate instance by<a name="line.9"></a>
<FONT color="green">010</FONT>     * {@link com.google.gwt.core.client.GWT#create(java.lang.Class) GWT.create}, Just invoke<a name="line.10"></a>
<FONT color="green">011</FONT>     * {@link GwtLogoutAsync.Util#getInstance() GwtLogoutAsync.Util.getInstance} instead.&lt;br/&gt;<a name="line.11"></a>
<FONT color="green">012</FONT>     * 使用GWT RPC進行登出，必須建立一{@link com.gwt.ss.GwtLogoutSuccessHandler GwtLogoutSuccessHandler}實例， 並且指定到to &amp;lt;logout<a name="line.12"></a>
<FONT color="green">013</FONT>     * success-handler-ref=&amp;quot;實例參照&amp;quot;/&amp;gt;&lt;br/&gt;<a name="line.13"></a>
<FONT color="green">014</FONT>     * 本界面並未標記{@link com.google.gwt.user.client.rpc.RemoteServiceRelativePath @RemoteServiceRelativePath}，所以不要用<a name="line.14"></a>
<FONT color="green">015</FONT>     * {@link com.google.gwt.core.client.GWT#create(java.lang.Class) GWT.create}建立intance，請改用<a name="line.15"></a>
<FONT color="green">016</FONT>     * {@link GwtLogoutAsync.Util#getInstance() GwtLogoutAsync.Util.getInstance}<a name="line.16"></a>
<FONT color="green">017</FONT>     */<a name="line.17"></a>
<FONT color="green">018</FONT>    public interface GwtLogout extends RemoteService {<a name="line.18"></a>
<FONT color="green">019</FONT>    <a name="line.19"></a>
<FONT color="green">020</FONT>        void j_gwt_security_logout();<a name="line.20"></a>
<FONT color="green">021</FONT>    }<a name="line.21"></a>




























































</PRE>
</BODY>
</HTML>
